/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tutorial.DesignPatterns.Singleton;

/**
 * Singleton se foloste DOAR in cazul in care doresti ca o clasa sa 
 * se instanteze doar odata SI(neaparat SI) cand doresti ca faci un obiect acesibil
 * gobal
 * @author Boogie
 */
public class SignletonMain {
    public static void main(String[] args){
        Singleton s = Singleton.getInstance();
        s.someOtherMethod();
        
        Singleton s2 = Singleton.getInstance();
        s2.someOtherMethod();
    }
}
